Contents | Index | < Browse | Browse >

LETTERfprintfULETTER Writes formatted output into a file.

Overview
#include <stdio.h>

r = fprintf(f, format, ...)

int r;
FILE *f;
const char *format;

Portability
ANSI

Description
This function works exactly like "printf", however the data is sent to the file referred to by "f" instead of stdout. In other words, "printf(...)" could be treated as a shortcut for "fprintf(stdout,...)".